home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 6e 65 77 73 2e 6e 65 72 | 2e 62 62 6e 70 6c 61 6e |news.ner|.bbnplan|
|00000030| 65 74 2e 6e 65 74 21 61 | 72 63 6f 21 75 73 65 6e |et.net!a|rco!usen|
|00000040| 65 74 0a 46 72 6f 6d 3a | 20 42 72 69 61 6e 20 4c |et.From:| Brian L|
|00000050| 65 61 63 68 20 3c 6c 61 | 73 62 66 6c 3e 0a 53 75 |each <la|sbfl>.Su|
|00000060| 62 6a 65 63 74 3a 20 52 | 65 3a 20 6e 6f 76 69 63 |bject: R|e: novic|
|00000070| 65 20 71 75 65 73 74 69 | 6f 6e 20 6f 6e 20 63 6f |e questi|on on co|
|00000080| 70 79 20 63 6f 6e 73 74 | 72 75 0a 58 2d 4e 6e 74 |py const|ru.X-Nnt|
|00000090| 70 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |p-Postin|g-Host: |
|000000a0| 31 33 36 2e 32 32 36 2e | 31 31 36 2e 31 0a 43 6f |136.226.|116.1.Co|
|000000b0| 6e 74 65 6e 74 2d 54 79 | 70 65 3a 20 74 65 78 74 |ntent-Ty|pe: text|
|000000c0| 2f 70 6c 61 69 6e 3b 20 | 63 68 61 72 73 65 74 3d |/plain; |charset=|
|000000d0| 75 73 2d 61 73 63 69 69 | 0a 4d 65 73 73 61 67 65 |us-ascii|.Message|
|000000e0| 2d 49 44 3a 20 3c 44 4d | 30 4c 72 34 2e 43 7a 44 |-ID: <DM|0Lr4.CzD|
|000000f0| 40 6e 65 77 73 2e 61 72 | 63 6f 2e 63 6f 6d 3e 0a |@news.ar|co.com>.|
|00000100| 54 6f 3a 20 65 65 5f 63 | 6b 6d 61 61 40 75 78 6d |To: ee_c|kmaa@uxm|
|00000110| 61 69 6c 2e 75 73 74 2e | 68 6b 0a 53 65 6e 64 65 |ail.ust.|hk.Sende|
|00000120| 72 3a 20 75 73 65 6e 65 | 74 40 6e 65 77 73 2e 61 |r: usene|t@news.a|
|00000130| 72 63 6f 2e 63 6f 6d 0a | 43 6f 6e 74 65 6e 74 2d |rco.com.|Content-|
|00000140| 54 72 61 6e 73 66 65 72 | 2d 45 6e 63 6f 64 69 6e |Transfer|-Encodin|
|00000150| 67 3a 20 37 62 69 74 0a | 4f 72 67 61 6e 69 7a 61 |g: 7bit.|Organiza|
|00000160| 74 69 6f 6e 3a 20 41 52 | 43 4f 20 4f 69 6c 20 25 |tion: AR|CO Oil %|
|00000170| 20 47 61 73 20 43 6f 6d | 70 61 6e 79 0a 52 65 66 | Gas Com|pany.Ref|
|00000180| 65 72 65 6e 63 65 73 3a | 20 3c 34 65 66 70 69 65 |erences:| <4efpie|
|00000190| 24 6a 73 71 40 6e 65 77 | 73 2e 75 73 74 2e 68 6b |$jsq@new|s.ust.hk|
|000001a0| 3e 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |>.Mime-V|ersion: |
|000001b0| 31 2e 30 0a 44 61 74 65 | 3a 20 54 75 65 2c 20 33 |1.0.Date|: Tue, 3|
|000001c0| 30 20 4a 61 6e 20 31 39 | 39 36 20 32 32 3a 31 33 |0 Jan 19|96 22:13|
|000001d0| 3a 35 32 20 47 4d 54 0a | 58 2d 4d 61 69 6c 65 72 |:52 GMT.|X-Mailer|
|000001e0| 3a 20 4d 6f 7a 69 6c 6c | 61 20 31 2e 31 4e 20 28 |: Mozill|a 1.1N (|
|000001f0| 58 31 31 3b 20 49 3b 20 | 48 50 2d 55 58 20 41 2e |X11; I; |HP-UX A.|
|00000200| 30 39 2e 30 35 20 39 30 | 30 30 2f 37 35 35 29 0a |09.05 90|00/755).|
|00000210| 58 2d 55 72 6c 3a 20 6e | 65 77 73 3a 34 65 66 70 |X-Url: n|ews:4efp|
|00000220| 69 65 24 6a 73 71 40 6e | 65 77 73 2e 75 73 74 2e |ie$jsq@n|ews.ust.|
|00000230| 68 6b 0a 0a 65 65 5f 63 | 6b 6d 61 61 40 75 78 6d |hk..ee_c|kmaa@uxm|
|00000240| 61 69 6c 2e 75 73 74 2e | 68 6b 20 28 43 68 61 6e |ail.ust.|hk (Chan|
|00000250| 20 4b 61 20 4d 69 6e 67 | 29 20 77 72 6f 74 65 3a | Ka Ming|) wrote:|
|00000260| 0a 3e 49 20 64 6f 6e 27 | 74 20 75 6e 64 65 72 73 |.>I don'|t unders|
|00000270| 74 61 6e 64 20 77 68 79 | 20 6f 6e 65 20 73 68 6f |tand why| one sho|
|00000280| 75 6c 64 20 63 72 65 61 | 74 65 20 61 20 63 6f 70 |uld crea|te a cop|
|00000290| 79 20 63 6f 6e 73 74 72 | 75 63 74 6f 72 2e 20 44 |y constr|uctor. D|
|000002a0| 6f 65 73 6e 27 74 20 74 | 68 65 0a 3e 63 6f 6d 70 |oesn't t|he.>comp|
|000002b0| 75 74 65 72 20 77 69 6c | 6c 20 64 6f 20 74 68 65 |uter wil|l do the|
|000002c0| 20 6a 6f 62 20 66 6f 72 | 20 79 6f 75 20 77 68 65 | job for| you whe|
|000002d0| 6e 20 70 61 73 73 20 61 | 72 67 75 6d 65 6e 74 73 |n pass a|rguments|
|000002e0| 20 62 79 20 76 61 6c 75 | 65 3f 20 54 68 61 6e 6b | by valu|e? Thank|
|000002f0| 73 0a 3e 0a 3e 0a 3e 2d | 2d 0a 3e 0a 3e 49 66 20 |s.>.>.>-|-.>.>If |
|00000300| 61 6e 20 69 64 65 61 6c | 20 63 61 6e 20 62 65 20 |an ideal| can be |
|00000310| 72 65 61 63 68 65 64 20 | 65 61 73 69 6c 79 20 69 |reached |easily i|
|00000320| 74 20 6e 6f 20 6c 6f 6e | 67 65 72 20 69 73 20 61 |t no lon|ger is a|
|00000330| 6e 20 69 64 65 61 6c 2e | 0a 3e 6b 61 20 6d 69 6e |n ideal.|.>ka min|
|00000340| 67 0a 3e 0a 0a 53 65 63 | 74 69 6f 6e 20 36 2e 32 |g.>..Sec|tion 6.2|
|00000350| 20 6f 66 20 4c 69 70 70 | 6d 61 6e 27 73 20 43 2b | of Lipp|man's C+|
|00000360| 2b 20 50 72 69 6d 65 72 | 20 28 32 6e 64 20 65 64 |+ Primer| (2nd ed|
|00000370| 69 74 69 6f 6e 29 20 64 | 6f 65 73 20 61 20 67 6f |ition) d|oes a go|
|00000380| 6f 64 20 6a 6f 62 20 6f | 66 20 65 78 70 6c 61 69 |od job o|f explai|
|00000390| 6e 69 6e 67 0a 74 68 69 | 73 2e 20 49 74 20 62 6f |ning.thi|s. It bo|
|000003a0| 69 6c 73 20 64 6f 77 6e | 20 74 6f 20 69 66 20 79 |ils down| to if y|
|000003b0| 6f 75 20 64 6f 6e 27 74 | 20 64 65 66 69 6e 65 20 |ou don't| define |
|000003c0| 61 20 63 6f 70 79 20 63 | 6f 6e 73 74 72 75 63 74 |a copy c|onstruct|
|000003d0| 6f 72 2c 20 74 68 65 20 | 63 6f 6d 70 69 6c 65 72 |or, the |compiler|
|000003e0| 0a 77 69 6c 6c 20 67 65 | 6e 65 72 61 74 65 20 61 |.will ge|nerate a|
|000003f0| 20 64 65 66 61 75 6c 74 | 20 6d 65 6d 62 65 72 77 | default| memberw|
|00000400| 69 73 65 20 69 6e 69 74 | 69 61 6c 69 7a 61 74 69 |ise init|ializati|
|00000410| 6f 6e 2e 20 49 66 20 79 | 6f 75 72 20 63 6c 61 73 |on. If y|our clas|
|00000420| 73 20 68 61 73 20 70 6f | 69 6e 74 65 72 73 2c 0a |s has po|inters,.|
|00000430| 63 6f 75 6e 74 65 72 73 | 2c 20 61 6e 64 2f 6f 72 |counters|, and/or|
|00000440| 20 64 65 73 74 72 75 63 | 74 6f 72 73 2c 20 62 61 | destruc|tors, ba|
|00000450| 64 20 74 68 69 6e 67 73 | 20 77 69 6c 6c 20 68 61 |d things| will ha|
|00000460| 70 70 65 6e 2e 20 49 6e | 20 74 68 65 20 63 61 73 |ppen. In| the cas|
|00000470| 65 20 6f 66 20 70 6f 69 | 6e 74 65 72 73 2c 0a 79 |e of poi|nters,.y|
|00000480| 6f 75 20 77 69 6c 6c 20 | 68 61 76 65 20 6d 75 6c |ou will |have mul|
|00000490| 74 69 70 6c 65 20 72 65 | 66 65 72 65 6e 63 65 73 |tiple re|ferences|
|000004a0| 20 74 6f 20 61 20 73 69 | 6e 67 6c 65 20 70 6f 69 | to a si|ngle poi|
|000004b0| 6e 74 65 72 20 77 68 69 | 63 68 20 77 69 6c 6c 20 |nter whi|ch will |
|000004c0| 63 61 75 73 65 20 61 6c | 6c 0a 73 6f 72 74 73 20 |cause al|l.sorts |
|000004d0| 6f 66 20 6e 61 73 74 69 | 6e 65 73 73 20 69 66 20 |of nasti|ness if |
|000004e0| 6d 75 6c 74 69 70 6c 65 | 20 64 65 73 74 72 75 63 |multiple| destruc|
|000004f0| 74 6f 72 73 20 64 65 73 | 74 72 6f 79 20 69 74 2e |tors des|troy it.|
|00000500| 20 43 6f 75 6e 74 65 72 | 73 20 77 69 6c 6c 20 6e | Counter|s will n|
|00000510| 6f 74 20 62 65 0a 69 6e | 63 72 65 6d 65 6e 74 65 |ot be.in|cremente|
|00000520| 64 20 63 6f 72 72 65 63 | 74 6c 79 2e 20 42 61 73 |d correc|tly. Bas|
|00000530| 69 63 61 6c 6c 79 2c 20 | 62 79 20 64 65 66 69 6e |ically, |by defin|
|00000540| 69 6e 67 20 79 6f 75 72 | 20 6f 77 6e 20 63 6f 70 |ing your| own cop|
|00000550| 79 20 63 6f 6e 73 74 72 | 75 63 74 6f 72 2c 20 79 |y constr|uctor, y|
|00000560| 6f 75 0a 61 72 65 20 65 | 6e 73 75 72 69 6e 67 20 |ou.are e|nsuring |
|00000570| 74 68 61 74 20 75 6e 6b | 6e 6f 77 6e 20 73 69 64 |that unk|nown sid|
|00000580| 65 20 61 66 66 65 63 74 | 73 20 77 6f 6e 27 74 20 |e affect|s won't |
|00000590| 72 65 61 63 68 20 6f 75 | 74 20 61 6e 64 20 62 69 |reach ou|t and bi|
|000005a0| 74 65 20 79 6f 75 2e 0a | 0a 2d 42 72 69 61 6e 20 |te you..|.-Brian |
|000005b0| 3a 2d 29 0a 0a | |:-).. | |
+--------+-------------------------+-------------------------+--------+--------+